<?php 
require("../include/connectdb.php");
session_start();
if($_SESSION['login']==false){
	$_SESSION['error']="Cảnh báo: bạn phải đăng nhập trước khi vào phần quản trị trang web";
	header('location:index.php');
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<link rel="stylesheet" type="text/css" href="../style/style.css" />
	<script type="text/javascript" charset="utf-8" src="../js/utility.js"></script>
	<script type="text/javascript" charset="utf-8" src="../js/validate.js"></script>
	<title>C2group admin page</title>
</head>

<body>
	<div id="aWrapper">
		<div id="leftMenu">
			<ul id="leftList">
				<li><a href="main.php?page=user">Tài khoản</a></li>
				<li><a href="main.php?page=lart&type=t2">Tin tức</a></li>
				<li><a href="main.php?page=lart&type=w">Web</a></li>
				<li><a href="main.php?page=lart&type=pm">Phần mềm</a></li>
				<li><a href="main.php?page=lart&type=dm">Domain</a></li>
				<li><a href="main.php?page=lart&type=sp">Sản phẩm</a></li>
				<li><a href="main.php?page=lart&type=dv">Dịch vụ</a></li>
				<li><a href="main.php?page=lart&type=tv">Tư vấn</a></li>
				<li><a href="main.php?page=lcon">Liên hệ</a></li>
				<li><a href="main.php?page=aart">Thêm bài viết</a></li>
			</ul>
		</div>
		<div id="aContent">
			<?php require('include/content.php');?>
		</div>
	</div>
</body>
</html>	